package com.pmj.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pmj.hospital.vo.req.PageReqVO;
import lombok.Data;

import java.io.Serializable;

/**
 * 科室表
 *
 * @author 庞明杰
 * @date 2020-06-01
 */
@Data
@TableName("his_department")
public class HisDepartmentEntity extends PageReqVO implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 科室编号
	 */
	@TableId("id")
	private String id;
	/**
	 * 创建时间
	 */
	@TableField("create_datetime")
	private String createDatetime;
	/**
	 * 科室地址
	 */
	@TableField("address")
	private String address;
	/**
	 * 科室码
	 */
	@TableField("code")
	private Integer code;
	/**
	 * 科室名称
	 */
	@TableField("name")
	private String name;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(String createDatetime) {
		this.createDatetime = createDatetime;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNameCode() {
		return nameCode;
	}

	public void setNameCode(String nameCode) {
		this.nameCode = nameCode;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * 名称，地址拼音缩写
	 */
	@TableField("name_code")
	private String nameCode;
	/**
	 * 类型 0普通 1急诊
	 */
	@TableField("type")
	private Integer type;


}
